package com.link.base.base.alert.controller;

import javax.annotation.Resource;

import com.link.base.base.alert.model.AlertObjType;
import com.link.base.base.alert.service.AlertObjTypeService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 预警模块-对象类型- 
 *
 * @author 宁蓝昊
 * @date 2019/10/15 14:32
 */
@Controller
@RequestMapping("/link/alertObjType")
public class AlertObjTypeController extends BasicController<AlertObjType> {
 
    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private AlertObjTypeService alertObjTypeService;

    @Override
    public BasicService<AlertObjType> getBasicService() throws Exception {
        return alertObjTypeService;
    }     
}
